<?php
/**
 * Created by PhpStorm.
 * User: shuixian
 * Date: 2019/11/20
 * Time: 18:29
 */
$menu = <<<MENU

[

  {
    "path": "cash/list",
    "name": "CashList",
    "component": "/application/cash/list",
    "meta": {
      "keepAlive": true,
      "title": "AppManage",
      "isOnly": false,
      "auth": [],
      "pagePermission": [{
        "title": "CashList",
        "index": 0,
        "url": "/app/cash/list",
        "auth": ["view", "add", "edit", "del", "outport"]
      }, {
        "title": "CashSet",
        "index": 0,
        "url": "/app/cash/set",
        "auth": ["view", "add", "edit", "del", "outport"]
      }, {
        "title": "CashImage",
        "index": 0,
        "url": "/app/cash/image",
        "auth": ["view", "add", "edit", "del", "outport"]
      }
      ]
    }
  },
  {
    "path": "cash/set",
    "name": "CashSet",
    "component": "/application/cash/set",
    "meta": {
      "title": "AppManage",
      "isOnly": false,
      "auth": [],
      "pagePermission": [{
        "title": "CashList",
        "index": 0,
        "url": "/app/cash/list",
        "auth": ["view", "add", "edit", "del", "outport"]
      }, {
        "title": "CashSet",
        "index": 0,
        "url": "/app/cash/set",
        "auth": ["view", "add", "edit", "del", "outport"]
      }, {
        "title": "CashImage",
        "index": 0,
        "url": "/app/cash/image",
        "auth": ["view", "add", "edit", "del", "outport"]
      }
      ]
    }
  },
  {
    "path": "cash/image",
    "name": "CashImage",
    "component": "/application/cash/image",
    "meta": {
      "keepAlive": true,
      "title": "AppManage",
      "isOnly": false,
      "auth": [],
      "pagePermission": [{
        "title": "CashList",
        "index": 0,
        "url": "/app/cash/list",
        "auth": ["view", "add", "edit", "del", "outport"]
      }, {
        "title": "CashSet",
        "index": 0,
        "url": "/app/cash/set",
        "auth": ["view", "add", "edit", "del", "outport"]
      }, {
        "title": "CashImage",
        "index": 0,
        "url": "/app/cash/image",
        "auth": ["view", "add", "edit", "del", "outport"]
      }
      ]
    }
  },
  {
    "path": "cash/edit",
    "name": "CashView",
    "component": "/application/cash/edit",
    "meta": {
      "title": "AppManage",
      "isOnly": false,
      "auth": [],
      "pagePermission": [{
        "title": "CashView",
        "index": 0,
        "url": "/app/cash/edit",
        "auth": ["view", "add", "edit", "del", "outport"]
      }
      ]
    }
  },
  {
    "path": "cash/editImage",
    "name": "CashViewImage",
    "component": "/application/cash/editImage",
    "meta": {
      "title": "AppManage",
      "isOnly": false,
      "auth": [],
      "pagePermission": [{
        "title": "CashViewImage",
        "index": 0,
        "url": "/app/cash/editImage",
        "auth": ["view", "add", "edit", "del", "outport"]
      }
      ]
    }
  },
  {
    "path": "cash/record",
    "name": "CashRecord",
    "component": "/application/cash/record",
    "meta": {
      "keepAlive": true,
      "title": "AppManage",
      "isOnly": false,
      "auth": [],
      "pagePermission": [{
        "title": "CashRecord",
        "index": 0,
        "url": "/app/cash/record",
        "auth": ["view", "add", "edit", "del", "outport"]
      }
      ]
    }
  },
  {
    "path": "cash/detail",
    "name": "CashDetail",
    "component": "/application/cash/detail",
    "meta": {
      "title": "AppManage",
      "isOnly": false,
      "auth": [],
      "pagePermission": [{
        "title": "CashDetail",
        "index": 0,
        "url": "/app/cash/detail",
        "auth": ["view", "add", "edit", "del", "outport"]
      }
      ]
    }
  }

]
MENU;

return ["redbag" => $menu];


